package org.esiag.isidis.test;

import static org.junit.Assert.*;

import javax.xml.ws.BindingProvider;

import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

import webservice.ServerWS;
import webservice.ServerWSService;

public class ServerWSTU {
	
	// Membre
	ServerWS serverWS;
	
	public ServerWSTU() {
		ServerWSService service = new ServerWSService();
		serverWS = service.getServerWSPort();
		
		((BindingProvider)serverWS).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
				"http://localhost:51007/ApplicationContainer/webservice/IServerWS");
	}

	@Test
	public void test() {
//		serverWS.invokeWs("nomClasse", "nomMethode", null);
	}

}
